package com.keta.generator.vo;

import java.util.List;


public class Table {
	
	/**
	 * 表名
	 */
	private String tableName;
	

	/**
	 * 表类型  如table、view等
	 */
	private String tableType;
	
	private Column pk;
	
	/**
	 * 所有列
	 */
	private List<Column> columns;

	/**
	 * javaBean Name
	 */
	private String entityName;
	
	/**
	 * instanceName
	 */
	private String instanceName;
	
	
	public Table(){
		
	}
	
	public Table(String tableName){
		this.tableName = tableName;
	}
	
	
	

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getTableType() {
		return tableType;
	}

	public void setTableType(String tableType) {
		this.tableType = tableType;
	}

	public List<Column> getColumns() {
		return columns;
	}

	public void setColumns(List<Column> columns) {
		this.columns = columns;
	}

	

	public String getEntityName() {
		return entityName;
	}

	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	public String getInstanceName() {
		return instanceName;
	}

	public void setInstanceName(String instanceName) {
		this.instanceName = instanceName;
	}

	public Column getPk() {
		return pk;
	}

	public void setPk(Column pk) {
		this.pk = pk;
	}

	
	
	
}
